#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QProgressBar>
#include <QLabel>
#include <QSpinBox>
#include <QFontComboBox>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include<QToolBar>
#include<QPushButton>
#include<QToolButton>
#include<QTextEdit>
#include<QStatusBar>
#include<QDateTime>
#include<QTimer>
#include<QFont>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
private:
    QLabel *label;
    QProgressBar *progressbar;
    QSpinBox *spinbox;
    QFontComboBox *fontcombobox;

    void intUI();

    void lianjie();

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_actioncuti_triggered(bool checked);

    void on_actionxinjian_triggered(bool checked);

    void on_spinBoxFontSize_valueChanged(int aFontSize);

    void on_comboFont_currentIndexChanged(const QString &argl);

    void on_actionxieti_triggered(bool checked);

    void on_actionxiahuaxian_triggered(bool checked);

private:
    Ui::MainWindow *ui;
};

#endif // MAINWINDOW_H

